#include "CSingaporeBusServicesView.hrh"

RESOURCE AVKON_VIEW r_singapore_bus_services_view
	{
	cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
	menubar = r_singapore_bus_services_menu;
#if !defined(__SERIES60_3X__) || defined(__S60_50__)
	toolbar = r_singapore_bus_stops_toolbar;
#endif
	}

RESOURCE MENU_BAR r_singapore_bus_services_menu
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_singapore_bus_services_menu_pane; }
		};
	}



RESOURCE MENU_PANE r_singapore_bus_services_menu_pane
    {
    items=
        {
			MENU_ITEM { command=ESingaporeBusShowMap; txt="Map"; },
			MENU_ITEM { command=ESingaporeBusShowServiceRoute; txt="Service route"; },
	        MENU_ITEM { command=ESingaporeBusRefreshPosition; txt="Refresh position"; },
			MENU_ITEM { cascade=r_singapore_bus_services_mark_pane; txt="Mark"; },
	        MENU_ITEM { cascade=r_singapore_bus_services_pane; txt="Pane"; },
	        MENU_ITEM { command=ESingaporeBusSettings; txt="Settings"; }
        };
    } 
RESOURCE MENU_PANE r_singapore_bus_services_pane
	{
	items =
		{
        MENU_ITEM { command=ESingaporeBusNewFavoritePane; txt="New"; },
        MENU_ITEM { command=ESingaporeBusDeleteFavoritePane; txt="Delete"; },
        MENU_ITEM { command=ESingaporeBusRenameFavoritePane; txt="Rename"; }
		};
	}



RESOURCE MENU_BAR r_singapore_bus_services_mark_menu
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_singapore_bus_services_mark_pane; }
		};
	}

RESOURCE MENU_PANE r_singapore_bus_services_mark_pane
	{
	items =
		{
        MENU_ITEM { command=ESingaporeBusMarkFavorite; txt="Favorite"; },
        MENU_ITEM { command=ESingaporeBusShowMap; txt="Map"; },
        MENU_ITEM { command=ESingaporeBusShowServiceRoute; txt="Service route"; }
		};
	}


